import csv
command_list, labels_list = {}, {}


def getMessage():
    with open('command.csv', 'r') as f:
        reader = csv.reader(f)
        head = next(reader)
        for line in reader:
            command_list[line[1]] = line[0]
    with open('labels.csv', 'r') as f:
        reader = csv.reader(f)
        head = next(reader)
        for line in reader:
            labels_list[line[1]] = line[0]
